package com.xjtu.project.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xjtu.project.model.domain.Address;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 86185
* @description 针对表【address】的数据库操作Mapper
* @createDate 2025-07-04 17:16:44
* @Entity generator.domain.Address
*/
public interface AddressMapper extends BaseMapper<Address> {

    List<Address> selectByUserId(@Param("userId") int userId);

    Address selectOneByUserId(@Param("userId") int userId);

    boolean updateByIdMy(@Param("address") Address address);
}




